import time
import asyncio, asyncvnc

async def run_client():
    async with asyncvnc.connect('localhost') as client:
        client.mouse.move(100, 200)
        with client.mouse.hold(2):
            time.sleep(2)

asyncio.run(run_client())